﻿@model KopeykaStore.Models.Product

@{
    ViewBag.Title = "KopeykaStore - " + Model.Brand.Name + " - " + Model.Title;
}

<div id="product-details">
    <div id="product-image"><img alt="@Model.Title" src="@Model.ImageUrl" /></div>
    <div id="product-buy">
        <div id="product-header" class="componentheading">@Model.Brand.Name @Model.Title</div>
        <div class="brand-image">
            <a class="pic" href="@Url.Action("Brand", new { id = Model.BrandId })">
                <img alt="@Model.Brand.Name" src="@Model.Brand.LogoUrl" />
            </a>
        </div>
        <div class="price">
            @String.Format("{0:F}", Model.Price)<span> UAH</span>
        </div>
        @Html.ActionLink("Add to cart", "AddToCart", "ShoppingCart", new { id = Model.ProductId }, new { name = "button" })
    </div>
    <div id="product-description">
        @Html.Raw(Model.Description)
    </div>
</div>
